home *** CD-ROM | disk | FTP | other *** search
- Path: lifl.lifl.fr!karpf
- From: karpf@lifl.lifl.fr (Karpf_Sylvain)
- Newsgroups: comp.lang.c,comp.os.msdos.programmer,comp.sys.ibm.pc.hardware.video,comp.sys.ibm.pc.hardware.misc,comp.sys.ibm.pc.misc
- Subject: Re: malloc'ing 1.5MB of memory
- Date: 16 Jan 1996 16:54:37 GMT
- Organization: Laboratoire d'Informatique Fondamentale de Lille
- Distribution: world
- Message-ID: <4dgl8d$ren@netserver.univ-lille1.fr>
- References: <4culvu$612@stc06.ctd.ornl.gov> <DL0HqJ.7H4@rug.nl> <4dg7l4$n1h@bright.ecs.soton.ac.uk>
- NNTP-Posting-Host: bass.lifl.fr
-
- In article <4dg7l4$n1h@bright.ecs.soton.ac.uk>, mat92@ecs.soton.ac.uk (Mark Tranchant) writes:
- |> In <DL0HqJ.7H4@rug.nl> Herman Dullink <csg669@wing.rug.nl> writes:
- |>
- |> >forrest@esdhof.esd.ornl.gov (Forrest M. Hoffman) wrote:
- |> >>Can anyone tell me how to grab a 1.5 MB chunk of PC memory? I've got a
- |> >>VideoBlaster card and some C code they gave me. But I want to use the
- |> >>full screen (800x600) at 24 bit color. This means I have to have this
- |> >>much space to have the routine dump the data into. The machine I'm
- |> >>using is a 486 with 16MB of memory. This must be a DOS limitation?
- |> >>I'm using MS C 6.0 and calling halloc();
- |> >It's probably the limitation of MS C's halloc().
- |>
- |> >>Any suggestions?
- |>
- |>
- |> Use linux instead. Free compiler (gcc), free OS, fully 32-bit.
- |> ptr = malloc(1572864).
- |>
- |> It is heaven after DOS programming - the only disadvantage is the lack of a
- |> nice, user-friendly IDE.
- |>
- |> Learning the SVGAlib routines would be a bit of a sod, however: unless you
- |> are directly driving the hardware.
- |>
- |> Mark.
- |>
-
-
- You can use dos and the gcc compiler (32 bits compiler) together with the go32
- Dos-Extender.
-
-
- --
- Sylvain Karpf
-
- Laboratoire d'Informatique Fondamentale de Lille
- Bat M3
- Universite des Sciences et Technologies de Lille
- 59655 VILLENEUVE D'ASCQ CEDEX
- FRANCE
-
- Phone : +33 20 43 65 57
- Fax : +33 20 43 65 66
- email : karpf@lifl.fr
-